package org.jeecg.modules.oms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.oms.entity.OmsInquiryItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 询单明细表
 * @Author: jeecg-boot
 * @Date: 2025-09-29
 * @Version: V1.0
 */
public interface OmsInquiryItemMapper extends BaseMapper<OmsInquiryItem> {

    /**
     * 根据询单ID查询明细列表
     * @param inquiryId 询单ID
     * @return 询单明细列表
     */
    List<OmsInquiryItem> selectByInquiryId(@Param("inquiryId") String inquiryId);

    /**
     * 根据询单ID删除明细
     * @param inquiryId 询单ID
     * @return 删除数量
     */
    int deleteByInquiryId(@Param("inquiryId") String inquiryId);

}
